//
// Project Wok
//
// Copyright IBM Corp, 2015-2016
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

// Form validation
.has-success {
  @include form-control-validation(darken($state-success-border,10%), darken($state-success-border,10%), $state-success-bg);
}
.has-warning {
  @include form-control-validation(darken($state-warning-border,10%), darken($state-warning-border,10%), $state-warning-bg);
}
.has-error {
  @include form-control-validation(darken($state-danger-border,10%), darken($state-danger-border,10%), $state-danger-bg);
}

// Override forms
.form-control.invalid-field {
    border-color: darken($state-danger-border,10%);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(217, 83, 79, 0.6);
}